package com.yyg.usecase;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableConfigurationProperties(ServiceProperties.class)
public class VipServiceSetup {

    @Bean
    public VipService vipService(ServiceProperties properties) {
        return new VipService(properties);
    }

}
